#ifndef BOARDSELECTOR_H
#define BOARDSELECTOR_H

#include "BoardSelectorObserver.h"
#include <list>

class BoardSelector
{
public:
    BoardSelector();
    ~BoardSelector();

	void RegisterObserver(BoardSelectorObserver *observer);
	//void UnregisterObserver(BoardSelectorObserver *observer);

	void NotifySelectedMap();
	void NotifyCancelled();

	virtual void GetMap() = 0;
private:
	std::list<BoardSelectorObserver*> observers;
};

#endif // BOARDSELECTOR_H
